package com.aaa.mapper;

import com.aaa.entity.Singer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SingerMapper{

    List<Singer> listAll(@Param("page") Integer page, @Param("countpage") Integer countpage, @Param("inputm") String inputm);
    Integer counts(@Param("inputm") String inputm);
    Integer insert(Singer singer);
    Integer update(Singer singer);
    Integer delete(Integer sid);
    List<Singer> listMySinger();
}
